package com.rover022.webgame.view.game {
	import org.aswing.JWindow;

	/**
	 * @author chenbin01
	 */
	public class GamePanel extends JWindow {
		private const GAMEWIDTH : int = 550;
		private const GAMEHEIGHT : int = 400;
		private var _name : String;
		private var gamebg_sprite : BgPanl;
		private var bar_sprite : BarPanel;
		
		public function GamePanel(owner : * = null, modal : Boolean = false) {
			super(owner, modal);
			setSizeWH(GAMEWIDTH, GAMEHEIGHT);
			creatsrceen();
			creatplayer();
		}
		
		private function creatsrceen(_name : String = "") : void {
			_name = _name;
			gamebg_sprite = new BgPanl();
			gamebg_sprite.set_UI("img/bg_1.jpg");
			getContentPane().addChild(gamebg_sprite);
			
			bar_sprite = new BarPanel();
			getContentPane().addChild(bar_sprite);
		}

		private function creatplayer() : void {
			
			
		}
	}
}
